complex ion formation and solubility